//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit2.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Label1Click(TObject *Sender)
{
    ShellExecute(Handle,NULL,"http://hi.baidu.com/%BC%B4%BE%B0001/blog/item/9e5140f1b0d01fa1a50f5247.html",NULL,NULL,SW_SHOWNORMAL);
}
//---------------------------------------------------------------------------

void __fastcall TForm2::Label1MouseEnter(TObject *Sender)
{
    Label1->Font->Color = clRed;
}
//---------------------------------------------------------------------------

void __fastcall TForm2::Label1MouseLeave(TObject *Sender)
{
	Label1->Font->Color = clBlue;
}
//---------------------------------------------------------------------------

